package Test;

public class User {
    public int  UserID;
    public String nickname;

    public String  IP;
    public String  PassWord;

    public User(int userID, String nickname, String IP, String passWord) {
        UserID = userID;
        this.nickname = nickname;
        this.IP = IP;
        PassWord = passWord;
    }

    public User(String nickname, String passWord) {
        this.nickname = nickname;
        PassWord = passWord;
    }

    public String getPassWord() {
        return PassWord;
    }

    public void setPassWord(String passWord) {
        PassWord = passWord;
    }

    public User(int userID, String nickname, String  IP) {
        UserID = userID;
        this.nickname = nickname;
        this.IP = IP;
    }

    public int getUserID() {
        return UserID;
    }

    public void setUserID(int userID) {
        UserID = userID;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String  getIP() {
        return IP;
    }

    public void setIP(String  IP) {
        this.IP = IP;
    }
}
